﻿using System;
using System.Collections.Generic;
using Ue.CQRS.Samples.Domain;

namespace Ue.CQRS.Samples.Application.Command.Repositories
{
    public interface IDomainRepository
    {
        [InMemory]
        T Load<T>(Guid id) where T : IEntity;

        void Save(IEntity entity);
    }
}